import Axios from "axios";
import Qs from 'qs'
export default {
    /**
     * 获取种子列表
     */
    getSeedPageList: function ({taskId,currentPage,pageSize}) {
       return Axios.get('/crawler/api/seed/selectSeedListByTaskId?taskId='+taskId+"&pageNum="+currentPage+"&pageSize="+pageSize);
    },
    insertSeed : function (params){
       return Axios.post('/crawler/api/seed/insert', params);
    },
    updateBySeedId : function (params){
       return Axios.post('/crawler/api/seed/updateBySeedIdSelective', params);
    },
    deleteBySeed : function ({seedId}){
       return Axios.get('/crawler/api/seed/deleteBySeedId?seedId='+seedId);
    }

}
